﻿using System;
namespace netsoul.netsoul
{
   interface INetsoul
   {
      void AddUser ( string identifiant );
      void Change_status ( nsStatus Status );
      bool Connected
      {
         get;
      }
      string Data
      {
         get;
         set;
      }
      void Deconnection ();
      string GetCmd ();
      double GetTimestampNow ();
      string Location
      {
         get;
         set;
      }
      string Login
      {
         get;
         set;
      }
      string message_log
      {
         get;
      }
      string MotDePasse
      {
         set;
      }
      int Port
      {
         get;
         set;
      }
      string ReadLineSocket ();
      bool Register ();
      void Send_message_login ( string login, string message, string location );
      void Send_message_login ( string login, string message );
      void SendCmd ( string cmd );
      bool SendCmd ( string cmd, string rep );
      string Serveur
      {
         get;
         set;
      }
      nsStatus Statut
      {
         get;
         set;
      }
   }
}
